package com.koko.news.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class News implements Serializable {
    private static final long serialVersionUID = 1L;
    private Long id;
    private Long publisherId;
    private Long gameId;
    private String title;
    private String content;
    private Integer type;
    private Integer view;
    private Integer like;
    private Integer dislike;
    private Integer share;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private Long createUserId;
    private Long updateUserId;
}
